package model.event;

import java.beans.PropertyChangeEvent;

import model.Statechart;
import model.util.Point;

public class StatechartLocationChangeEvent extends PropertyChangeEvent {

	private static final long serialVersionUID = 5006732605572547292L;
	
	private Statechart statechart;

	public StatechartLocationChangeEvent(Object source, String propertyName,
			Point oldLocation, Point newLocation, Statechart statechart) {
		super(source, propertyName, oldLocation, newLocation);
		this.statechart = statechart;
	}

	public Statechart getStatechart() {
		return statechart;
	}

}
